//
//  ProgressAlert.m
//  N2ST
//
//  Created by Eduardo Oliveros on 31/12/08.
//  Copyright 2008 Eduardo Oliveros. All rights reserved.
//

#import "ProgressAlert.h"


@implementation ProgressAlert
- (id)initWithTitle:(NSString*)title message:(NSString*)message delegate:(id)delegate{
	self = [super initWithTitle:title message:message delegate:delegate cancelButtonTitle:nil otherButtonTitles:nil];
	UIActivityIndicatorView* activityIndicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhite];
	activityIndicator.frame = CGRectMake(139.0f-18.0f,80.0f,35.0f,35.0f);
	[self addSubview:activityIndicator];
	[activityIndicator startAnimating];
	return self;
}

@end
